import Mock from 'mockjs'
// 引入json数据，webpack默认对外暴露的有图片和json数据格式
import floor from './floor.json'
import banner from './banner.json'

// mock请求数据：第一个请求参数地址，第二个请求数据
Mock.mock('/mock/banner', {code: 200, data: banner})
Mock.mock('/mock/floor', {code: 200, data: floor})
